#include <cstdio>

int main( )
{
    __int64 f[ 63 ], a, b;
    int i, k;
    f[ 0 ] = 1;
    for ( i = 1; i < 63; i++ )
        f[ i ] = f[ i - 1 ] * 2;
    while ( scanf("%d", &k) != EOF )
    {
        scanf("%I64d%I64d", &a, &b);
        if ( k == 64 )
        {
            if ( a > 0 && b > 0 )
            {
                if ( ( a + b ) <= 0 )
                {
                    puts("Yes");
                    continue;
                }
            }
            else if( a < 0 && b < 0 )
            {
                if ( ( a + b ) >= 0 )
                {
                    puts("Yes");
                    continue;
                }
            }
            puts("WaHaHa");
        }
        else
        {
            if ( ( a + b ) > ( f[ k - 1 ] - 1 ) || ( a + b ) < ( -f[ k - 1 ] ) )
                puts("Yes");
            else
                puts("WaHaHa");
        }
    }
    return 0;
}
